package com.ap.core.domain;


import org.hibernate.annotations.TypeDef;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * User: Rohit.Dixit
 */
@Entity
@Table(name = "T_FINANCIAL_INSTITUTION")
@AttributeOverride(name = "id", column = @Column(name = "FI_ID"))
@TypeDef(name = "id", typeClass = Long.class)
public class FinancialInstitution extends Identifiable<Long> {

    private static final long serialVersionUID = 5180845106091590283L;

    @Column(name = "FI_IDENTIFICATION")
    private String fiIdentification;

	@Column(name = "FI_NAME")
    private String fiName;
    
	@Column(name = "FI_SHORT_NAME")
    private String shortName;
	
    @Column(name = "HOLDING_SORT_CODE")
    private String holdingSortCode;
    
    @Column(name = "HOLDING_ACCOUNT_NUMBER")
    private String holdingAcctNumber;
    
    @Column(name = "HOLDING_ROLL_NUMBER")
    private String holdingRollNumber;
    
    @Column(name = "ZAPP_SERVICE_STATUS")
    private String zappServiceStatus;
    
    /**
     * Default constructor
     */
    public FinancialInstitution() {
    	
    }
    /**
	 * @return the shortName
	 */
	public String getShortName() {
		return shortName;
	}

	/**
	 * @return the fiIdentification
	 */
	public String getFiIdentification() {
		return fiIdentification;
	}

	/**
	 * @return the fiName
	 */
	public String getFiName() {
		return fiName;
	}

	/**
	 * @return the holdingSortCode
	 */
	public String getHoldingSortCode() {
		return holdingSortCode;
	}

	/**
	 * @return the holdingAcctNumber
	 */
	public String getHoldingAcctNumber() {
		return holdingAcctNumber;
	}

	/**
	 * @return the holdingRollNumber
	 */
	public String getHoldingRollNumber() {
		return holdingRollNumber;
	}

	/**
	 * @return the zappServiceStatus
	 */
	public String getZappServiceStatus() {
		return zappServiceStatus;
	}


}
